package com.things8.iot.baseIot.service;

import com.things8.iot.baseIot.entity.BPayment;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

import com.things8.iot.baseIot.dao.BPaymentMapper;
/**
 * @author  yzh
 * @date  2021/5/2 21:24
 * @version 1.0
 */
@Service
public class BPaymentService{

    @Resource
    private BPaymentMapper bPaymentMapper;

    
    public int deleteByPrimaryKey(Long id) {
        return bPaymentMapper.deleteByPrimaryKey(id);
    }

    
    public int insert(BPayment record) {
        return bPaymentMapper.insert(record);
    }

    
    public int insertSelective(BPayment record) {
        return bPaymentMapper.insertSelective(record);
    }

    
    public BPayment selectByPrimaryKey(Long id) {
        return bPaymentMapper.selectByPrimaryKey(id);
    }

    
    public int updateByPrimaryKeySelective(BPayment record) {
        return bPaymentMapper.updateByPrimaryKeySelective(record);
    }

    
    public int updateByPrimaryKey(BPayment record) {
        return bPaymentMapper.updateByPrimaryKey(record);
    }

}
